package com.orange.common.page;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.Valid;

/**
 * TODO
 *
 * @Author YWF
 * @Date 2025/8/19 17:37
 */
@Data
@AllArgsConstructor
public class PageQuery<T> {

    @Valid
    private PageParam pageParam;

    @Valid
    private T query;

    public PageQuery() {
        this.pageParam = new PageParam();
    }
}